package com.xlh;

import com.xlh.dokka.svc.properties.DockerProperties;
import com.xlh.dokka.svc.properties.NovncProperties;
import com.xlh.properties.PandocProperties;
import com.xlh.properties.ProjectProperties;
import com.xlh.properties.ResourcesProperties;
import com.xlh.properties.SmsProperties;
import com.xlh.support.backup.properties.BackupProperties;
import com.xlh.virtualization.properties.ContainerProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableConfigurationProperties({ResourcesProperties.class, NovncProperties.class, DockerProperties.class,
        ContainerProperties.class, PandocProperties.class, ProjectProperties.class, SmsProperties.class,
        BackupProperties.class})
@MapperScan({"com.xlh.**.dao"})
@EnableScheduling
@ServletComponentScan
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
public class TeachingExperimentSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(TeachingExperimentSystemApplication.class, args);
    }

}

